import Request from '../api/request'
import { requestConfig } from '@/config/index'

const requestInstance = new Request(requestConfig)
// 导出全局请求函数
export default function (config) {
  return requestInstance.request(config)
}
